]> git.gir.st - tmk_keyboard.git/blob - tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/mbed KSDK readme.txt
Merge commit '1fe4406f374291ab2e86e95a97341fd9c475fcb8'
[tmk_keyboard.git] / tmk_core / tool / mbed / mbed-sdk / libraries / mbed / targets / hal / TARGET_Freescale / TARGET_KPSDK_MCUS / TARGET_KPSDK_CODE / mbed KSDK readme.txt
1 This document is not complete, please try to add more to it to keep it as much up-to-date as possible.
2
3 *************ADDING NEW TARGET*************
4 TODO (partially)
5
6 UNAVAILABLE PERIPHERALS:
7 The original build system of the KSDK simply does not compile files which are not available on a target, mbed tries to compile everything. If your target tries to compile a peripheral which is not available, compilation will fail with a "No valid CPU defined!" error message. In the file which throws the error, replace the error code with: #define MBED_NO_[PERIPHERAL-NAME]. Then in the other .h and .c file in the same folder add #ifndef guards. See for an example: \mbed\targets\hal\TARGET_Freescale\TARGET_KPSDK_MCUS\TARGET_KPSDK_CODE\hal\lpuart.
8
9 SYSTEM_MKXXXXX.C:
10 The file included in the top cannot be found by the compiler, replace it by cmsis.h
11
12
13
14 ************UPDATING KSDK FILES************
15 TODO (Also good luck with it).
Imprint / Impressum